CleantalkSP\SpbctWP\AdminBannersModule\AdminBannersHandler S

Total Complexity 34
Dependencies 14
Dependents 13
Total lines 244
Lines of code 150
Logical lines of code 66
Comment lines 50
Methods 11
Properties 5

Methods 11

Method Rating Maintainability Complexity Lines of code
dismissBanner()
S
50 7 27
updateDismissedBannerData()
S
55 7 19
adminBarHasExclamationDueBanners()
S
50 6 32
__construct()
S
55 3 21
handle()
S
58 3 16
getJSONOfPostNotices()
S
58 2 16
addAttentionMark()
S
69 2 7
getUserId()
S
82 1 3
getUserToken()
S
82 1 3
getPluginSettingsLink()
S
82 1 3
isOnSpbcSettingsPage()
S
79 1 3